package com.device.controller;

import com.device.util.Message;
import com.device.vo.TabDeviceVo;
import javax.annotation.Resource;
import com.device.service.TabDeviceService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/tab_device")
public class TabDeviceController extends BaseController{

	@Resource
	private TabDeviceService tabDeviceService;
	
	@PostMapping(value="page")
	public Message login(TabDeviceVo deviceVo){
		return Message.done(tabDeviceService.findPage(deviceVo));
	}
	
	
}